<? 
	ob_start();
	$mal=$_REQUEST["lopid"]; 
	require("admin/connect.php");
	$tenalbum=$_POST["tenalbum"];
	$nguoidang=$_POST["nguoidang"];
	$thoigian=date("Y-m-d-h-m-s");						
	$sql="insert into albumlop(tenalbum,nguoidang,mal,thoigian) values('{$tenalbum}','{$nguoidang}','{$mal}','{$thoigian}')";	
	mysql_query("$sql") or die("Error!");
	mysql_close();
	header("Location:danganh.php?mal=$mal");		
?>